home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Day Cry
/
Day Cry CD.bin
/
oh_towns
/
ein
/
sources
/
loadsrc.lzh
/
LOAD
/
RES_PANL.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-07-21
|
3KB
|
123 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int ID_PANEL[6] ;
extern int func_Quit() ;
extern int func_Close() ;
extern int func_getInt() ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init ùpâfü[â^ */
/* âwâbâ_ */
MMIINIT initDataRES_PANL = { "MmiInit", 6, 0 } ;
/* ID_PANEL[0] */
static MMIPACKET d001 = { &ID_PANEL[0],
NULL,
&MJ_WINDOWL40,
OFFSET(WINDOWL40),
MS_NONE
} ;
static WINDOWL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_TITLEL40,
36, 172, 203, 225, 8, 4, 8,
MS_SRECTL40 | MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0,
1, 17, 0, 0,
128, 96, 640, 480,
0,
" ",
} ;
/* ID_PANEL[1] */
static MMIPACKET d002 = { &ID_PANEL[1],
&ID_PANEL[0],
&MJ_ICONL40,
OFFSET(ICONL40),
MS_NONE
} ;
static ICONL40 d002d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_CENTERL40,
40, 175, 51, 186, 8, 4, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
func_Quit,
0x801d, 512
} ;
/* ID_PANEL[2] */
static MMIPACKET d003 = { &ID_PANEL[2],
&ID_PANEL[0],
&MJ_ICONL40,
OFFSET(ICONL40),
MS_NONE
} ;
static ICONL40 d003d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_CENTERL40,
187, 175, 198, 186, 8, 4, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
func_Close,
0x000b, 513
} ;
/* ID_PANEL[3] */
static MMIPACKET d004 = { &ID_PANEL[3],
&ID_PANEL[0],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d004d = { MS_CENTERL40 | MS_DSPONLYL40,
56, 173, 183, 188, 8, 8,15,
MS_NONEL40,
"òëë╫ò\Ī",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* ID_PANEL[4] */
static MMIPACKET d005 = { &ID_PANEL[4],
&ID_PANEL[0],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d005d = { MS_CENTERL40 | MS_DSPONLYL40,
52, 197, 135, 212, 8, 4, 8,
MS_NONEL40,
"îvæ¬è╘èu(sec)",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* ID_PANEL[5] */
static MMIPACKET d006 = { &ID_PANEL[5],
&ID_PANEL[0],
&MJ_NUMBOXL40,
0,
MS_NONE
} ;
static NUMBOXL40 d006d = { MS_BTLEFTL40 | MS_REPEATL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_RIGHTL40,
142, 194, 190, 217, 8, 7,15,
MS_PANELL40 | MS_DFRAMEL40 | MS_FRAMEL40,
func_getInt,
1, 12, 12,
MS_NONEL40,
2, 0,
3, 1, 600, 1, 0,
281, 282
} ;